package com.shanyi.sendmsg.dto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class UserEntity {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @TableField("nick_name")
    private String nickName;
    
    @TableField("user_code")
    private String userCode;
    
    @TableField("user_name")
    private String userName;
    
    @TableField("password")
    private String password;
    
    @TableField("deleted")
    private Integer deleted;
    
    @TableField("create_time")
    private Date createTime;
    
    @TableField("modify_time")
    private Date modifyTime;
}
